import Vue from 'vue'
import App from './App.vue'
// 挂载路由
import router from "./router"
//引入element.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Axios from 'axios';


//引入moment 专门处理日期格式  全局过滤器
import moment from "moment"
Vue.filter("fmtdate", (v) => {
    return moment(v).format("YYYY-MM-DD")
})

Vue.prototype.$http = Axios

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App),
}).$mount('#app')